#include "H264CommonFunction.hpp"



int h264_log2(uint32_t value){
    assert(value > 0);
    int log2 = 0;
    while(value){
        value >>= 1;
        log2++;
    }
    return log2;
}